package com.foodchain.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class RegisterAspect {

    private static final Logger logger = LoggerFactory.getLogger(RegisterAspect.class);

    /*@Pointcut(value = "@annotation(com.foodchain.annotation.CheckRegister)")
    public void checkRegister() {
    }*/

    /*@Before(value = "@annotation(register)", argNames = "register")
    public void before(CheckRegister register) {

        System.out.println("=========================>" + register.userName());

    }*/

}
